from pydantic import BaseModel
from datetime import datetime


class Planting_plan(BaseModel):
    PlanName: str
    CropHistoryID: int
    StartDate: datetime
    EndDate: datetime
    PlanDuration: str
    PlotID: int
    Remarks: str

    class Config:
        orm_mode = True
